import request from '@/utils/request'

// h5 - 公共方法
export function upload(data) {
  console.log('data', data);
  return request({
    url: '/common/upload',
    headers: { 'Content-Type': 'application/x-www-form-urlencoded', isToken: false },
    method: 'post',
    data: data
  })
}